package com.pth.dao;

import java.util.List;

import com.pth.model.Log;

public interface LogDAO {

	public void add(Log log);
	
	public List<Log> getAllLogs(final int pagesize,final int offset);
	
	public Log getLogByid(int id);
	
	
	public int getAllNum();
	
	
	public List<Log> getLogsBytime(final int pagesize,final int offset,String time);
	
	public int getNumBytime(String time);
	
	
}
